package main.ykt;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface AreaDao extends JpaRepository<YktAreaInfo,Integer>, JpaSpecificationExecutor<YktAreaInfo> {
    List<YktAreaInfo> findAllByThelevel(Integer t);

    List<YktAreaInfo> findAllByParentid(Integer t);


}
